import request from '@/utils/request'

//素材列表
export function materialList(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkGroupRobotProvider/1.0.0/getList.html',
    method:'post',
    data:query
  })
}

//删除素材
export function deleteMaterial(query) {
  return request({
    url: '/com.mmk.groupmember.api.AdminMmkGroupRobotProvider/1.0.0/delete.html',
    method:'post',
    data:query
  })
}

//添加/编辑素材
export function addMaterial(query) {
  return request({
    url: '/com.mmk.groupmember.api.AdminMmkGroupRobotProvider/1.0.0/add.html',
    method:'post',
    data:query
  })
}
